package com.zw.feign;

import com.zw.feign.fallBack.TorderInfoFallBackFactory;
import com.zw.pojo.TOrderInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "springcloud-provider",fallbackFactory = TorderInfoFallBackFactory.class)
public interface TorderInfoFeign {

    @GetMapping("/tOrderInfo/firstTest")
    List<TOrderInfo> firstTest();
}
